home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / QuickTime VR / MacOS / QuickDraw™ 3D 1.0.6F4 SDK / Development / Interfaces / QD3DAcceleration.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-11-14  |  2.3 KB  |  81 lines  |  [TEXT/MPS ]

  1. /******************************************************************************
  2.  **                                                                             **
  3.  **     Module:        QD3DAcceleration.h                                         **
  4.  **                                                                          **
  5.  **                                                                          **
  6.  **     Purpose:     Header file for low-level 3D driver API                     **
  7.  **                 Vendor IDs, and Apple's engine IDs                         **
  8.  **                                                                          **
  9.  **                                                                          **
  10.  **     Copyright (C) 1994-95 Apple Computer, Inc.  All rights reserved.     **
  11.  **                                                                          **
  12.  **                                                                          **
  13.  *****************************************************************************/
  14. #ifndef QD3DAcceleration_h
  15. #define QD3DAcceleration_h
  16.  
  17. #ifndef QD3D_h
  18. #include <QD3D.h>
  19. #endif  /*  QD3D_h  */
  20.  
  21. #if PRAGMA_ONCE
  22.     #pragma once
  23. #endif
  24.  
  25. #if defined(__MWERKS__)
  26.     #pragma enumsalwaysint on
  27.     #pragma align_array_members off
  28.     #pragma options align=native
  29. #endif
  30.  
  31. #ifdef __cplusplus
  32. extern "C" {
  33. #endif
  34.  
  35. /******************************************************************************
  36.  **                                                                             **
  37.  **                         Vendor ID definitions                             **
  38.  **                                                                             **
  39.  *****************************************************************************/
  40.  
  41. /*
  42.  * If kQAVendor_BestChoice is used, the system chooses the "best" drawing engine
  43.  * available for the target device. This should be used for the default.
  44.  */
  45.  
  46. #define kQAVendor_BestChoice        (-1)
  47.  
  48. /*
  49.  * The other definitions (kQAVendor_Apple, etc.) identify specific vendors
  50.  * of drawing engines. When a vendor ID is used in conjunction with a
  51.  * vendor-defined engine ID, a specific drawing engine can be selected.
  52.  */
  53.  
  54. #define kQAVendor_Apple            0
  55. #define kQAVendor_ATI            1
  56. #define kQAVendor_Radius        2
  57. #define kQAVendor_Mentor        3        /* Mentor Software, Inc. */
  58. #define kQAVendor_Matrox        4
  59. #define kQAVendor_Yarc            5
  60.  
  61. /******************************************************************************
  62.  **                                                                             **
  63.  **                         Apple's engine ID definitions                         **
  64.  **                                                                             **
  65.  *****************************************************************************/
  66.  
  67. #define kQAEngine_AppleSW        0        /* Default software rasterizer */
  68. #define kQAEngine_AppleHW        (-1)    /* Apple accelerator */
  69. #define kQAEngine_AppleHW2        1        /* Another Apple accelerator */
  70.  
  71. #ifdef __cplusplus
  72. }
  73. #endif
  74.  
  75. #if defined(__MWERKS__)
  76.     #pragma options align=reset
  77.     #pragma enumsalwaysint reset
  78. #endif
  79.  
  80. #endif /* QD3DAcceleration_h */
  81.